var p = Calendar.getAbsolutePos(document.getElementById("beginDateInput"));
Calendar.setup({inputField:"beginDateInput",ifFormat:"%Y-%m-%d",button:"beginDateBtn",showsTime:"true",position:[p.x,p.y+25]});
var p1 = Calendar.getAbsolutePos(document.getElementById("endDateInput"));
Calendar.setup({inputField:"endDateInput",ifFormat:"%Y-%m-%d",button:"endDateBtn",showsTime:"true",position:[p1.x,p1.y+25]});